From 375547eb7607a65674756356337418793b13ab0c Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 26 Nov 2010 14:25:30 +0000 Subject: [PATCH] xenpaging: increase recently used pages from 4MB to 64MB Increase recently used pages from 4MB to 64MB. Keeping more pages in memory allows the guest to make more progress if the paging file spans the entire guest memory. Signed-off-by: Olaf Hering --- tools/xenpaging/policy_default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenpaging/policy_default.c b/tools/xenpaging/policy_default.c index 5768e691e9..a2182d16fc 100644 --- a/tools/xenpaging/policy_default.c +++ b/tools/xenpaging/policy_default.c @@ -26,7 +26,7 @@ #include "policy.h" -#define MRU_SIZE 1024 +#define MRU_SIZE (1024 * 16) static unsigned long mru[MRU_SIZE]; -- 2.30.2